package com.why.configurebean;

/**
 * 对应mapper.xml文件
 * @author wanghongyang24
 */
public class MapperStatement {

    /**
     * 执行的sql语句
     */
    private String sql;
    /**
     * 方法的名字
     */
    private String id;
    /**
     * 查询参数的类型
     */
    private String jdbcType;
    /**
     * 返回结果的类型
     */
    private String resultType;

    public MapperStatement(String sql, String id, String jdbcType, String resultType) {
        this.sql = sql;
        this.id = id;
        this.jdbcType = jdbcType;
        this.resultType = resultType;
    }




    public String getSql() {
        return sql;
    }

    public String getId() {
        return id;
    }

    public String getJdbcType() {
        return jdbcType;
    }

    public String getResultType() {
        return resultType;
    }
}
